Possible fix for #18
authorjustbur <justin@burkett.cc>
Thu, 9 Jul 2015 00:39:27 +0000 (20:39 -0400)
committerjustbur <justin@burkett.cc>
Thu, 9 Jul 2015 00:39:27 +0000 (20:39 -0400)
which-key.el

index 1d93066c9ed7786a28b643a23194701fd649fc79..46961a014f4938c299157f2ff9ff232591aa5efa 100644 (file)
@@ -177,7 +177,8 @@ Used when `which-key-popup-type' is frame.")
   "Fill which-key--buffer with key descriptions and reformat.
 Finally, show the buffer."
   (let ((prefix-keys (this-single-command-keys)))
-    (when (> (length prefix-keys) 0)
+    (when (and (> (length prefix-keys) 0)
+               (not (symbolp (key-binding prefix-keys))))
       (let* ((buf (current-buffer))
              ;; get formatted key bindings
              (fmt-width-cons (which-key/get-formatted-key-bindings buf prefix-keys))